package ctn.util.jmesa;





public class DTOFilter implements java.io.Serializable{
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	private String property;

	private Object value;

	private int operationType = OperationType.EQUAL;

	private JunctionType junctionType = JunctionType.JUNCTION_AND;
	
	private FieldType fieldType = FieldType.STRING;

	private Object loValue;

	private Object hiValue;
	
	private String[] propertys;

	private Object[] values;
	
	private String sql;
	
	

	public String getSql() {
		return sql;
	}

	public void setSql(String sql) {
		this.sql = sql;
	}

	public String[] getPropertys() {
		return propertys;
	}

	public void setPropertys(String[] propertys) {
		this.propertys = propertys;
	}
	
	public Object getHiValue() {
		return hiValue;
	}

	public void setHiValue(Object hiValue) {
		this.hiValue = hiValue;
	}

	public JunctionType getJunctionType() {
		return junctionType;
	}

	public void setJunctionType(JunctionType junctionType) {
		this.junctionType = junctionType;
	}

	public Object getLoValue() {
		return loValue;
	}

	public void setLoValue(Object loValue) {
		this.loValue = loValue;
	}

	public int getOperationType() {
		return operationType;
	}

	public void setOperationType(int operationType) {
		this.operationType = operationType;
	}

	public String getProperty() {
		return property;
	}

	public void setProperty(String property) {
		this.property = property;
	}

	public Object getValue() {
		return value;
	}

	public void setValue(Object value) {
		this.value = value;
	}

	public Object[] getValues() {
		return values;
	}

	public void setValues(Object[] values) {
		this.values = values;
	}

	public FieldType getFieldType() {
		return fieldType;
	}

	public void setFieldType(FieldType fieldType) {
		this.fieldType = fieldType;
	}

	public DTOFilter(String property, Object value) {
		super();
		this.property = property;
		this.value = value;
		
	}

}
